class A(object):
    def __init__(self):
        print(123)
    def __call__(self):
        print(456)

b = A() # 调用的是init
b()     # 调用的是call
A()()
